/* 登录页面容器 */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

/* 登录行容器 */
.login-row {
  width: 100%;
}

/* 登录卡片 */
.login-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

.login-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 登录头部 */
.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-title {
  color: #1890ff;
  margin-bottom: 10px;
}

.login-subtitle {
  color: #666;
  margin-bottom: 0;
}

/* 登录标签页 */
.login-tabs {
  margin-bottom: 20px;
}

.login-tabs .ant-tabs-tab {
  padding: 12px 24px;
  font-size: 16px;
}

.login-tabs .ant-tabs-ink-bar {
  height: 3px;
  background-color: #1890ff;
}

/* 登录表单 */
.login-form {
  margin-top: 20px;
}

.login-form .ant-form-item {
  margin-bottom: 24px;
}

.login-form .ant-form-item-label > label {
  font-weight: 500;
  color: #333;
}

.login-form .ant-input {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.login-form .ant-input:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input-prefix {
  color: #999;
}

/* 登录按钮组 */
.login-button-group {
  margin-top: 30px;
}

.login-button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  background-color: #1890ff;
  border-color: #1890ff;
  transition: all 0.3s ease;
}

.login-button:hover {
  background-color: #40a9ff;
  border-color: #40a9ff;
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
}

/* 验证码按钮 */
.code-button {
  padding: 0;
  font-size: 14px;
  color: #1890ff;
}

.code-button:hover {
  color: #40a9ff;
}

.code-button:disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* 错误信息 */
.error-message {
  margin-top: 16px;
  padding: 12px;
  background-color: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 6px;
  color: #cf1322;
  font-size: 14px;
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .login-card {
    padding: 30px 20px;
  }
  
  .login-title {
    font-size: 24px;
  }
  
  .login-form .ant-form-item {
    margin-bottom: 20px;
  }
  
  .login-button {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 10px;
  }
  
  .login-card {
    padding: 20px 15px;
  }
}